import React from "react";
import { connect } from "react-redux";
function View(props: RootState) {
  console.log(props.address, "props");

  return (
    <div>
      {props.address}
      <div>联盟页面</div>
    </div>
  );
}
export default connect((state) => ({ address: state.address.address }))(View);
